package com.school.pojo;

import java.time.LocalDateTime;

public class Teacher {
	private Integer teacher_id;//老师id
	private String name;//姓名
	private String phone;//联系方式
	private Integer sex;//性别
	private Integer age;//年龄
	private String address;//地址
	private String identity;//证件号
	private Integer file_id;//头像id
	private Integer is_deleted;//是否删除0未删除，1为删除
	private Integer tpos_id;//职务
	private LocalDateTime entry_time=LocalDateTime.now();//入职时间
	private LocalDateTime dimission_time;//离职时间
	private Integer a_id;//账号id
	
	private String url;
	
	private String username;//账号
	private String password;//密码
	
	private Integer status;//账号职位
	
	public Teacher() {
		// TODO Auto-generated constructor stub
	}


	
	

	


	@Override
	public String toString() {
		return "Teacher [teacher_id=" + teacher_id + ", name=" + name + ", phone=" + phone + ", sex=" + sex + ", age="
				+ age + ", address=" + address + ", identity=" + identity + ", file_id=" + file_id + ", is_deleted="
				+ is_deleted + ", tpos_id=" + tpos_id + ", entry_time=" + entry_time + ", dimission_time="
				+ dimission_time + ", a_id=" + a_id + ", url=" + url + ", username=" + username + ", password="
				+ password + ", status=" + status + "]";
	}








	





	public Teacher(Integer teacher_id, String name, String phone, Integer sex, Integer age, String address,
			String identity, Integer file_id, Integer is_deleted, Integer tpos_id, LocalDateTime entry_time,
			LocalDateTime dimission_time, Integer a_id, String url, String username, String password, Integer status) {
		super();
		this.teacher_id = teacher_id;
		this.name = name;
		this.phone = phone;
		this.sex = sex;
		this.age = age;
		this.address = address;
		this.identity = identity;
		this.file_id = file_id;
		this.is_deleted = is_deleted;
		this.tpos_id = tpos_id;
		this.entry_time = entry_time;
		this.dimission_time = dimission_time;
		this.a_id = a_id;
		this.url = url;
		this.username = username;
		this.password = password;
		this.status = status;
	}








	public Integer getTeacher_id() {
		return teacher_id;
	}

	public void setTeacher_id(Integer teacher_id) {
		this.teacher_id = teacher_id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public Integer getSex() {
		return sex;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getIdentity() {
		return identity;
	}

	public void setIdentity(String identity) {
		this.identity = identity;
	}

	public Integer getFile_id() {
		return file_id;
	}

	public void setFile_id(Integer file_id) {
		this.file_id = file_id;
	}

	public Integer getIs_deleted() {
		return is_deleted;
	}

	public void setIs_deleted(Integer is_deleted) {
		this.is_deleted = is_deleted;
	}

	public Integer getTpos_id() {
		return tpos_id;
	}

	public void setTpos_id(Integer tpos_id) {
		this.tpos_id = tpos_id;
	}

	public LocalDateTime getEntry_time() {
		return entry_time;
	}

	public void setEntry_time(LocalDateTime entry_time) {
		this.entry_time = entry_time;
	}

	public LocalDateTime getDimission_time() {
		return dimission_time;
	}

	public void setDimission_time(LocalDateTime dimission_time) {
		this.dimission_time = dimission_time;
	}

	public Integer getA_id() {
		return a_id;
	}

	public void setA_id(Integer a_id) {
		this.a_id = a_id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getPassword() {
		return password;
	}


	public void setPassword(String password) {
		this.password = password;
	}





	public String getUrl() {
		return url;
	}





	public void setUrl(String url) {
		this.url = url;
	}
	
	
}
